package com.example.yyjc.domain.industryanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName SecondCat
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-11-19 14:48
 **/
@Data
@Alias("secondCat")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class SecondCat extends BaseRowModel {

    /**
     * 二级目录id
     */
    @ExcelProperty(value = "二级类目id")
    @ColumnWidth(value = 15)
    private Integer secondCatId;

    /**
     * 二级目录名称
     */
    @ExcelProperty(value = "二级类目名称")
    @ColumnWidth(value = 20)
    private String secondCatName;

    /**
     * 对应一级目录id
     */
    @ExcelProperty(value = "对应一级目录id")
    @ColumnWidth(value = 20)
    private Integer firstCatId;
}
